Get premium membership and access questions with answers, video lessons as well as revision papers.

Given the following C++ fragment, in what order are the constructor functions called? class myclass: public A, public B, public C {...

      

Given the following C++ fragment, in what order are the constructor functions called?
class myclass: public A, public B, public C {...

  

Answers


Davis
Constructors are called in the order ABC, destructors in the order CBA.
Githiari answered the question on February 5, 2018 at 09:05


Next: Explain what protected means in programming world.
Previous: What function positions the get pointer and put program pointers?

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions